Class MUSaveNetReqMessage

All Implemented Interfaces:
LTV

public class MUSaveNetReqMessage extends MultiUserMessage
This is a save network request message from PT.
  • Field Details

    • saveReqId

      public UUID saveReqId
    • requestorId

      public UUID requestorId
    • depthInfo

      public int depthInfo
    • timeoutInfo

      public int timeoutInfo
    • saveOrder

      public int saveOrder
    • clusterId

      public String clusterId
    • fullySaved

      public ArrayList<PTSaveInfo> fullySaved
    • partiallySaved

      public ArrayList<PTSaveInfo> partiallySaved
  • Constructor Details

    • MUSaveNetReqMessage

      public MUSaveNetReqMessage()
      This function creates a Save Network Request message for the MU protocol.
  • Method Details

    • getMessage

      public static MUSaveNetReqMessage getMessage(EncodedBuffer buffer)
      A deserialization function that creates a new message from a PtmpBuffer object.
      Parameters:
      buffer - The PtmpBuffer to get from
      Returns:
      A new instance of a MUSaveNetReqMessage class get from the buffer
    • encodeTypeAndPayload

      public void encodeTypeAndPayload(EncodedBuffer buffer)
      Serializes the message into a PtmpBuffer.
      Specified by:
      encodeTypeAndPayload in interface LTV
      Overrides:
      encodeTypeAndPayload in class LTVImpl
      Parameters:
      buffer - The PtmpBuffer to put the message into
    • toString

      public String toString()
      Converts this message into a string for debugging purposes
      Overrides:
      toString in class MultiUserMessage
      Returns:
      A string representation of this message